package com.plian.system.service.fr.procurement;

import com.plian.system.dto.fr.procurement.PurchaseTransferFileDTO;
import com.plian.system.entity.fr.procurement.MaterialProcurement;
import com.plian.system.vo.fr.procurement.PurchaseTransferResultVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @description:大宗物资数据传输相关接口
 * @author: gangan
 * @create: 2022-04-21 16:32
 */
public interface IPurchaseTransferService {

    /**
     * 批量新增或更新
     * @param materialProcurementList
     * @return
     */
    PurchaseTransferResultVO saveList(List<MaterialProcurement> materialProcurementList);

    boolean saveFile(List<MultipartFile> files, List<PurchaseTransferFileDTO> purchaseTransferFileDTOS);

    /**
     * 一体化 批量更新
     * @param data
     * @return
     */
    String ythSubmitBatch(String data);
}
